projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c27223
)
cmd_pci405.c: Fix GCC 4.6 build warnings
author
Stefan Roese
<
[email protected]
>
Tue, 15 Nov 2011 08:03:06 +0000
(08:03 +0000)
committer
Wolfgang Denk
<
[email protected]
>
Wed, 16 Nov 2011 20:17:13 +0000
(21:17 +0100)
Fix:
cmd_pci405.c: In function 'do_loadpci':
cmd_pci405.c:45:6: warning: variable 'status' set but not used [-Wunused-but-set-variable]
Signed-off-by: Stefan Roese <
[email protected]
>
board/esd/pci405/cmd_pci405.c
patch
|
blob
|
history
diff --git
a/board/esd/pci405/cmd_pci405.c
b/board/esd/pci405/cmd_pci405.c
index 13f90194264828e7fa2749245dfd6b6aa69195f0..f570ef340fa91df1e193c37eff808c19f768c5c2 100644
(file)
--- a/
board/esd/pci405/cmd_pci405.c
+++ b/
board/esd/pci405/cmd_pci405.c
@@
-42,7
+42,6
@@
int do_loadpci(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
unsigned int *ptr = 0;
int count = 0;
int count2 = 0;
- int status;
int i;
char addr[16];
char str[] = "\\|/-";
@@
-99,7
+98,7
@@
int do_loadpci(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
local_args[0] = argv[0];
local_args[1] = NULL;
-
status =
do_bootm (cmdtp, 0, 1, local_args);
+ do_bootm (cmdtp, 0, 1, local_args);
}
return 0;